package com.scm.entity;

public class CheckStock
{
    private Integer stockId;
    private String productCode;
    private Integer originNum;
    private Integer realNum;
    private String stockTime;
    private String createUser;
    private String description;
    private String type;

    public void setStockId(Integer stockId)
    {
        this.stockId = stockId;
    }

    public void setProductCode(String productCode)
    {
        this.productCode = productCode;
    }

    public void setOriginNum(Integer originNum)
    {
        this.originNum = originNum;
    }

    public void setRealNum(Integer realNum)
    {
        this.realNum = realNum;
    }

    public void setStockTime(String stockTime)
    {
        this.stockTime = stockTime;
    }

    public void setCreateUser(String createUser)
    {
        this.createUser = createUser;
    }

    public void setDescription(String description)
    {
        this.description = description;
    }

    public void setType(String type)
    {
        this.type = type;
    }

    public boolean equals(Object o)
    {
        if (o == this) {
            return true;
        }
        if (!(o instanceof CheckStock)) {
            return false;
        }
        CheckStock other = (CheckStock)o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$stockId = getStockId();Object other$stockId = other.getStockId();
        if (this$stockId == null ? other$stockId != null : !this$stockId.equals(other$stockId)) {
            return false;
        }
        Object this$originNum = getOriginNum();Object other$originNum = other.getOriginNum();
        if (this$originNum == null ? other$originNum != null : !this$originNum.equals(other$originNum)) {
            return false;
        }
        Object this$realNum = getRealNum();Object other$realNum = other.getRealNum();
        if (this$realNum == null ? other$realNum != null : !this$realNum.equals(other$realNum)) {
            return false;
        }
        Object this$productCode = getProductCode();Object other$productCode = other.getProductCode();
        if (this$productCode == null ? other$productCode != null : !this$productCode.equals(other$productCode)) {
            return false;
        }
        Object this$stockTime = getStockTime();Object other$stockTime = other.getStockTime();
        if (this$stockTime == null ? other$stockTime != null : !this$stockTime.equals(other$stockTime)) {
            return false;
        }
        Object this$createUser = getCreateUser();Object other$createUser = other.getCreateUser();
        if (this$createUser == null ? other$createUser != null : !this$createUser.equals(other$createUser)) {
            return false;
        }
        Object this$description = getDescription();Object other$description = other.getDescription();
        if (this$description == null ? other$description != null : !this$description.equals(other$description)) {
            return false;
        }
        Object this$type = getType();Object other$type = other.getType();return this$type == null ? other$type == null : this$type.equals(other$type);
    }

    protected boolean canEqual(Object other)
    {
        return other instanceof CheckStock;
    }

    public int hashCode()
    {
        int PRIME = 59;int result = 1;Object $stockId = getStockId();result = result * 59 + ($stockId == null ? 43 : $stockId.hashCode());Object $originNum = getOriginNum();result = result * 59 + ($originNum == null ? 43 : $originNum.hashCode());Object $realNum = getRealNum();result = result * 59 + ($realNum == null ? 43 : $realNum.hashCode());Object $productCode = getProductCode();result = result * 59 + ($productCode == null ? 43 : $productCode.hashCode());Object $stockTime = getStockTime();result = result * 59 + ($stockTime == null ? 43 : $stockTime.hashCode());Object $createUser = getCreateUser();result = result * 59 + ($createUser == null ? 43 : $createUser.hashCode());Object $description = getDescription();result = result * 59 + ($description == null ? 43 : $description.hashCode());Object $type = getType();result = result * 59 + ($type == null ? 43 : $type.hashCode());return result;
    }

    public String toString()
    {
        return "CheckStock(stockId=" + getStockId() + ", productCode=" + getProductCode() + ", originNum=" + getOriginNum() + ", realNum=" + getRealNum() + ", stockTime=" + getStockTime() + ", createUser=" + getCreateUser() + ", description=" + getDescription() + ", type=" + getType() + ")";
    }

    public Integer getStockId()
    {
        return this.stockId;
    }

    public String getProductCode()
    {
        return this.productCode;
    }

    public Integer getOriginNum()
    {
        return this.originNum;
    }

    public Integer getRealNum()
    {
        return this.realNum;
    }

    public String getStockTime()
    {
        return this.stockTime;
    }

    public String getCreateUser()
    {
        return this.createUser;
    }

    public String getDescription()
    {
        return this.description;
    }

    public String getType()
    {
        return this.type;
    }
}

